package ppjava12v1.chess.dao;

import ppjava12v1.chess.entities.users.User;
import ppjava12v1.chess.entities.users.UserProfile;

/**
 * Created by Reyst on 21.09.2014.
 */
public interface UserDAO {

    User getByLogin(String login);

    String saveUser(User user);

    void updateProfile(UserProfile profile);

    int getRaiting(User user);
}
